﻿<%@ Page Language="C#" MasterPageFile="~/admin/TeampAdmin.Master" AutoEventWireup="true" CodeBehind="ChiTietSanPham.aspx.cs" Inherits="CungUngXayDung.admin.ChiTietSanPham" %>
<asp:Content ID="Content2" ContentPlaceHolderID="PageTittle" Runat="Server">
    CHI TIẾT SẢN PHẨM
<hr/>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" Runat="Server">
    <center><asp:Table ID="Table1" runat="server" GridLines="Horizontal" 
        HorizontalAlign="Center" Width = "550">        
        <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label1" runat="server" Text="Tên sản phẩm"></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtTenSanPham" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
         <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label2" runat="server" Text="Tên nhà sản xuất"></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtTenNhaSanXuat" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
         <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label3" runat="server" Text="Đơn vị tính"></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtDonViTinh" runat="server" Text=""></asp:TextBox></asp:TableCell></asp:TableRow>
       
        <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label12" runat="server" Text="Giá bán"></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtGiaBan" runat="server" Text=""></asp:TextBox></asp:TableCell></asp:TableRow>
        <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label14" runat="server" Text="Mô tả "></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtMoTa" runat="server" Text=""></asp:TextBox></asp:TableCell></asp:TableRow>
        <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label4" runat="server" Text="Số lượng tồn "></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtSoLuongTon" runat="server" Text=""></asp:TextBox></asp:TableCell></asp:TableRow>

       <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label24" runat="server" Text="Hình ảnh"></asp:Label></asp:TableCell><asp:TableCell><asp:Image ID="imgHinh" runat="server" Height="110px" Width="167px"/></asp:TableCell></asp:TableRow>
      <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label5" runat="server" Text="Tên Hình ảnh"></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtTenHinh" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
         
          <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="lblThemSua" runat="server" Text="Đổi ảnh khác"></asp:Label></asp:TableCell><asp:TableCell>  <asp:FileUpload ID="FileUpload1" runat="server" />
        <asp:Button ID="Button1" runat="server" Text="Upload" onclick="Button1_Click" />
        <asp:Label ID="messages" runat="server" Text="Upload Image"></asp:Label></asp:TableCell></asp:TableRow> 
       
      

        <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label18" runat="server" Text="Loại sản phẩm"></asp:Label></asp:TableCell><asp:TableCell><asp:DropDownList ID="ddlLoaiSP" runat="server" Width = "120"></asp:DropDownList></asp:TableCell></asp:TableRow>
        <asp:TableRow Height = "25"><asp:TableCell><asp:Label ID="Label6" runat="server" Text="Ẩn hay hiện"></asp:Label></asp:TableCell><asp:TableCell><asp:TextBox ID="txtAnHien" runat="server" Width = "120" Text="1"></asp:TextBox></asp:TableCell></asp:TableRow>
        
    </asp:Table>    
        <asp:Label ID="lblHinh" runat="server" Visible="False"></asp:Label>
        <br />
        <asp:Button ID="btnSave" runat="server" Text="Lưu" onclick="btnSave_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="Thoát" 
            onclick="btnCancel_Click" />
    </center>
</asp:Content>

